package echat.future.cn.echat.my.view;

import android.content.Intent;

import echat.future.cn.echat.R;
import echat.future.cn.echat.databinding.ActivityHelpCenterBinding;
import echat.future.cn.echat.my.weight.Navagation.AdapterNavagation;
import echat.future.cn.echat.my.weight.Navagation.IBaseNavagation;

public class HelpCenterActivity extends BaseActivity<ActivityHelpCenterBinding>{

    @Override
    public int layoutId() {
        return R.layout.activity_help_center;
    }

    @Override
    public IBaseNavagation navagation() {
        return new AdapterNavagation(this).setTitle("帮助中心", 16, R.color.white).
                setBack(R.drawable.btn_back).setNavagationBackgroudColor(R.color.color_161823);
    }

    @Override
    public void initView() {
        bind.llCall.setOnClickListener(v -> startActivity(new Intent(this,NomalQuestionActivity.class).
                putExtra("data","消息来电无提醒").putExtra("type","1")));
        bind.llCrash.setOnClickListener(v -> startActivity(new Intent(this,NomalQuestionActivity.class).
                putExtra("data","手机死机崩溃").putExtra("type","2")));
        bind.llOther.setOnClickListener(v -> startActivity(new Intent(this,AnotherQuestoonActivity.class)));
    }

}
